import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'

const routes = [
  {
    path: '/football',
    name: 'FootballList',
    component: () => import('../views/FootballList.vue')
  },
  {
    path: '/football/:id',
    name: 'MatchDetail',
    component: () => import('../views/MatchDetail.vue')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router 